<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Epica</title>
<style type="text/css">
<!--
.style3 {
	font-family: Arial, Helvetica, sans-serif
}

.style1 {
	color: #FFFFFF
}
-->
</style>
</head>

<body>

	<table border="1" cellpadding="0" cellspacing="0"
		style="border-collapse: collapse; border-width: 0"
		bordercolor="#111111" width="98%" id="AutoNumber1" height="12">
		<tr>
			<td width="100%" bgcolor="#1F68A5"
				style="border-style: none; border-width: medium" height="17">
				<table border="1" cellpadding="0" cellspacing="0"
					style="border-collapse: collapse; border-width: 0"
					bordercolor="#111111" width="100%" id="AutoNumber6" height="81">
					<tr>
						<td width="52%" style="border-style: none; border-width: medium"
							height="79" bgcolor="#333366">
							<p align="left"
								style="margin-left: 7; margin-top: 0; margin-bottom: 0">
								<br> <span style="letter-spacing: -1"><b> <font
											face="Verdana" color="#FFFFFF" size="6">E</font><font
											face="Verdana" color="#FFFFFF" size="6">pica.com</font> </b> </span><br>
										&nbsp; 
						</td>
						<td width="48%" style="border-style: none; border-width: medium"
							height="79" bgcolor="#333366">
							<p align="center" style="margin-top: 0; margin-bottom: 0">
								<b><i> <font face="Verdana" color="#FFCC00">'WE
											ROCK!!!</font> </i> </b><b><i><font face="Verdana" color="#FFCC00">'</font>
								</i> </b>
							</p></td>
					</tr>
				</table></td>
		</tr>
		<tr>
			<td width="100%" style="border: medium none #CC0000;" height="16"
				bgcolor="#6600CC">
				<table border="1" cellpadding="0" cellspacing="0"
					style="border-width: 0; border-collapse: collapse"
					bordercolor="#4D3366" width="100%" id="AutoNumber11" height="6">
					<tr>
						<td width="20%"
							style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium"
							bgcolor="#674589" align="center" height="4" bordercolor="#333366">
							<p style="margin-top: 2; margin-bottom: 2">
								<b> <font face="Verdana" size="1" color="#FFFFFF">Home</font>
								</b>
						</td>
						<td width="20%"
							style="border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium"
							bgcolor="#674589" align="center" height="4" bordercolor="#333366">
							<p style="margin-top: 2; margin-bottom: 2">
								<b> <font face="Verdana" size="1" color="#FFFFFF">Products</font>
								</b>
						</td>
						<td width="20%"
							style="border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium"
							bgcolor="#674589" align="center" height="4" bordercolor="#333366">
							<p style="margin-top: 2; margin-bottom: 2">
								<b> <font face="Verdana" size="1" color="#FFFFFF">Services</font>
								</b>
						</td>
						<td width="20%"
							style="border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium"
							bgcolor="#674589" align="center" height="4" bordercolor="#333366">
							<p style="margin-top: 2; margin-bottom: 2">
								<b> <font face="Verdana" size="1" color="#FFFFFF">About
										Us</font> </b>
						</td>
						<td width="20%"
							style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium"
							bgcolor="#674589" align="center" height="4" bordercolor="#333366">
							<p style="margin-top: 2; margin-bottom: 2">
								<b> <font face="Verdana" size="1" color="#FFFFFF">Contact
										Us</font> </b>
						</td>
					</tr>
				</table></td>
		</tr>
		<tr>
			<td width="100%"
				style="border-left: medium none #111111; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium"
				height="16" bgcolor="#FFCC66">
				<table border="1" cellpadding="0" cellspacing="0"
					style="border-collapse: collapse; border-width: 0"
					bordercolor="#111111" width="100%" id="AutoNumber12" height="1">
					<tr>
						<td width="100%" style="border-style: none; border-width: medium"
							colspan="5" height="17">
							<table border="1" cellpadding="0" cellspacing="0"
								style="border-collapse: collapse; border-width: 0"
								bordercolor="#111111" width="100%" id="AutoNumber16">
								<tr>
									<td width="34%"
										style="border-style: none; border-width: medium"
										bgcolor="#8D68B3">
										<p style="margin-left: 5">
											<b> </b>
									</td>
									<td width="33%"
										style="border-style: none; border-width: medium"
										bgcolor="#8D68B3">&nbsp;</td>
									<td width="33%"
										style="border-style: none; border-width: medium"
										bgcolor="#8D68B3">
										<p align="right"
											style="margin-right: 6; margin-top: 2; margin-bottom: 2">
											<font face="Verdana" size="1"><b><font
													color="#FFCC66">530 297
														7845&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;Call Today</font> </b> </font>
									</td>
								</tr>
								<tr>
									<td width="100%"
										style="border-style: none; border-width: medium"
										bgcolor="#FFFFFF" colspan="3">
										<p style="margin-top: -5; margin-bottom: -5">
									</td>
								</tr>
							</table></td>
					</tr>
					<tr>
						<td width="18%" style="border-style: none; border-width: medium"
							bgcolor="#FFFFFF" valign="top" height="1">
							<table border="1" cellpadding="0" cellspacing="0"
								style="border-collapse: collapse" bordercolor="#333366"
								width="100%" id="AutoNumber13" height="198">
								<tr>
									<td width="100%" bgcolor="#4D3366"
										style="border-bottom: medium none #FF6600; border-left-color: #FF6600; border-left-width: 2; border-right-color: #FF6600; border-right-width: 2; border-top-color: #FF6600;"
										height="20">
										<p style="margin: 2 3">
											<b> <font face="Verdana" size="2" color="#FFFFFF">Menu</font>
											</b>
									</td>
								</tr>
								<tr>
									<td width="100%" bgcolor="#FFFFFF"
										style="border-left: 1px solid #FF0000; border-right: 1px solid #FF0000; border-bottom-style: none; border-bottom-width: medium; border-top-style: none; border-top-width: medium"
										height="25">
										<p style="margin: 2 3;">
											<a href="Index"><b> <font size="2" face="Arial"
													color="#333333"> Home</font> </b> </a>
									</td>
								</tr>
								<tr>
									<td width="100%" bgcolor="#FFFFFF"
										style="border-left: 1px solid #FF0000; border-right: 1px solid #FF0000; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium;"
										height="25">
										<p style="margin: 2 3;">
											<a href="Promos"><b> <font face="Arial" size="2"
													color="#333333">Promociones</font> </b> </a>
									</td>
								</tr>
								<tr>
									<td width="100%" bgcolor="#FFFFFF"
										style="border-left: 1px solid #FF0000; border-right: 1px solid #FF0000; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium;"
										height="25">
										<p style="margin: 2 3;">
											<a href="CheckIn"><b> <font face="Arial"
													size="2" color="#333333">Registro Visitas</font> </b> </a>
									</td>
								</tr>
								<tr>
									<td width="100%" bgcolor="#FFFFFF"
										style="border-left: 1px solid #FF0000; border-right: 1px solid #FF0000; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium;"
										height="25">
										<p style="margin: 2 3;">
											<b> <font face="Arial" size="2" color="#333333">Recomiendanos</font>
											</b>
									</td>
								</tr>
								<tr>
									<td width="100%" bgcolor="#FFFFFF"
										style="border-left: 1px solid #FF0000; border-right: 1px solid #FF0000; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium;"
										height="25">
										<p style="margin: 2 3;">
											<b> <font face="Arial" size="2" color="#333333">Newsletter</font>
											</b>
									</td>
								</tr>
								<tr>
									<td width="100%" bgcolor="#FFFFFF"
										style="border-left: 1px solid #FF0000; border-right: 1px solid #FF0000; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium;"
										height="25">
										<p style="margin: 2 3;">
											<b> <font size="2" face="Arial" color="#333333">Contact
													Us</font> </b>
									</td>
								</tr>
								<tr>
									<td width="100%" bgcolor="#FFFFFF"
										style="border-left: 1px solid #FF0000; border-right: 1px solid #FF0000; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1"
										height="25">
										<p style="margin: 2 3;">
											<b> <font size="2" face="Arial" color="#333333">About
													Us</font> </b>
									</td>
								</tr>
							</table></td>
						<td width="1%" style="border-style: none; border-width: medium"
							bgcolor="#FFFFFF" height="1">&nbsp;</td>
						<td width="59%" style="border-style: none; border-width: medium"
							bgcolor="#FFFFFF" valign="top" height="1">
							<table border="1" cellpadding="0" cellspacing="0"
								style="border-collapse: collapse" bordercolor="#C0C0C0"
								width="100%" id="AutoNumber14" height="198">
								<tr>
									<td width="100%" height="19" bgcolor="#E6DDEE" valign="top"
										style="border-left-color: #808080; border-left-width: 2; border-right-color: #808080; border-right-width: 2; border-bottom-style: none; border-bottom-width: medium">
										<p align="center" style="margin-bottom: 4">
											<b> <font face="Verdana" size="2" color="#333333">Epica.com
													- </font> <font face="Verdana" size="2">We rock!</font> </b>
									</td>
								</tr>
								<tr>
									<td width="100%" height="177"
										style="border-left: 2px solid #808080; border-right: 2px solid #808080; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1">
										<h1>
											<u>Resumen checkins</u>
										</h1>

										<table>
											<tr>
												<td>Promoci&oacute;n :</td>
												<td>${respPromUsu.promocion.nombre}</td>
											</tr>
											<tr>
												<td>Nro Visitas Requeridas :</td>
												<td>${respPromUsu.promocion.numVisitas}</td>
											</tr>
											<tr>
												<td>Usuario :</td>
												<td>${respPromUsu.usuario.login}</td>
											</tr>
											<tr>
												<td>Nro Visitas Realizadas:</td>
												<td>
												<c:if test="${respPromUsu.obtienePremio}">
												${respPromUsu.promocion.numVisitas}
												</c:if>
												<c:if test="${respPromUsu.obtienePremio==false}">
												${respPromUsu.numVisitas}
												</c:if>
												</td>
											</tr>
											<tr>
												<td><br />
												</td>
												<td></td>
											</tr>
											<tr> 
												<td colspan="2"><c:if
														test="${respPromUsu.obtienePremio}">
														<b>FELICITACIONES!!! El usuario gano este descuento.</b>
													</c:if></td>
											</tr>
										</table> <br /> <a href="CheckIn"><u><b><font
													face="arial,sans-serif" size="2" color="#333366">Hacer
														otro check in</font> </b> </u> </a>
									</td>
								</tr>
							</table></td>
						<td width="1%" style="border-style: none; border-width: medium"
							bgcolor="#FFFFFF" height="1">&nbsp;</td>
						<td width="21%" style="border-style: none; border-width: medium"
							bgcolor="#FFFFFF" height="1" valign="top">
							<a href="CerrarSesion">Cerrar Sesion</a>
							<table border="1" cellpadding="0" cellspacing="0"
								style="border-collapse: collapse" bordercolor="#674589"
								width="100%" id="AutoNumber15" height="107">
								<tr>
									<td width="100%" valign="top" bgcolor="#674589" height="1"
										style="border-bottom-style: none; border-bottom-width: medium">
										<p style="margin-left: 5; margin-bottom: 4" align="center">
											<b> <font face="Verdana" size="2" color="#FFFFFF">Hot
													Price Update!</font> </b>
									</td>
								</tr>
								<tr>
									<td width="100%" valign="top" height="161"
										style="border-top-style: none; border-top-width: medium"
										bordercolor="#FFD2D2" bgcolor="#E6DDEE">
										<p align="left"
											style="margin-top: 5; margin-bottom: 0; margin-left: 4; margin-right: 4">
											<font face="Arial" size="2" color="#333333"><b>04/03/03</b>
												- This is where you can place any webpage updates for your
												visitors to see!</font><br> <br> &nbsp; 
									</td>
								</tr>
							</table></td>
					</tr>
					<tr>
						<td width="100%" style="border-style: none; border-width: medium"
							bgcolor="#FFFFFF" valign="top" height="1" colspan="5"><p
								class="style1" style="margin-top: -5; margin-bottom: -5">
								<a
									href="http://www.theoscommercestore.com/osCommerce-templates.htm"
									target="_blank"><font face=verdana,sans-serif size=1
									color="#FFFFFF">osCommerce templates </font> </a>
						</td>
					</tr>
					<tr bgcolor="#8D68B3">
						<td width="100%" style="border-style: none; border-width: medium"
							valign="top" height="3" colspan="5">&nbsp;</td>
					</tr>
					<tr>
						<td width="100%" style="border-style: none; border-width: medium"
							bgcolor="#4D3366" height="17" colspan="5">
							<p align="center" style="margin-top: 5; margin-bottom: 5">
								<b> <font face="Arial" size="1" color="#FFFFFF">Copyright
										2011 Epicacom. All Rights Reserved</font> </b>
						</td>
					</tr>
				</table></td>
		</tr>
	</table>
</body>

</html>